package com.example.juejincheck.dao;

import com.example.juejincheck.domain.KongqizhaguoCaipu;
import com.example.juejincheck.domain.MotianlunAccount;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @author yangkun
 * @description
 * @date 2022年11月26日 9:05
 */
@org.apache.ibatis.annotations.Mapper
public interface KongqizhaguoCaipuDao extends Mapper<KongqizhaguoCaipu> {
    @Select("select * from kongqizhaguo_caipu where name like concat('%', #{caipu},'%')")
    List<KongqizhaguoCaipu> selectByName(@Param("caipu") String caipu);
}
